package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;

public interface SetMealService {
    //添加套餐管理
    public void add(Setmeal setmeal, Integer[] checkgroupIds);
    //分页展示套餐
    public PageResult findPage(QueryPageBean queryPageBean);
    //查询所有套餐数据
    public List<Setmeal> getSetmeal();
    //根据id查询套餐得数据
    public Setmeal findById(Integer id);
    List<Map<String,Object>> findSetmealCount();
}
